<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h2>${name}</h2>
    <div>
        ${content}
    </div>
    <#tag attr="abc" >
       ${attr}
    </#tag>
   <%
      var cde = "abc";
      var show = true;
      var names = ['结了婚的初中同学','艳色女邻居','退伍后玩大嫂'];
      var user = {'name':'十六夜清心','page':5};
   %>
   ${nowDate,datef='y-L-d'}
   ${nowTime,'y-L-d H:m:s'}
   ${nowDate}
   ${nowTime}
   ${nowDate}

   ${copyright()}
   ${myutil.a()}
   ${myutil.b()}
  ${user.~json}

<#html:if test="${show}">
    sdfsdf
</#html:if>

<#html:if test="${!show}">
  水电费
</#html:if>

<ol>
    <#html:foreach items="${names}" var="item,status">
      <li>${status.index}-${item}</li>
    </#html:foreach>
</ol>

如果指定了参数则寻找注册的格式化函数,否则直接toString
</body>
</html>